<div class="requestItems view">
<h2><?php  __('Request Item');?></h2>
    <dl><?php $i = 0; $class = ' class="altrow"';?>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class;?>>
            <?php echo $requestItem['RequestItem']['id']; ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Request'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class;?>>
            <?php echo $this->Html->link($requestItem['Request']['id'], array('controller' => 'requests', 'action' => 'view', $requestItem['Request']['id'])); ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sub Category'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class;?>>
            <?php echo $this->Html->link($requestItem['SubCategory']['name'], array('controller' => 'sub_categories', 'action' => 'view', $requestItem['SubCategory']['id'])); ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class;?>>
            <?php echo $requestItem['RequestItem']['description']; ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class;?>>
            <?php echo $requestItem['RequestItem']['created']; ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
        <dd<?php if ($i++ % 2 == 0) echo $class;?>>
            <?php echo $requestItem['RequestItem']['modified']; ?>
            &nbsp;
        </dd>
    </dl>
</div>
<div class="actions">
    <h3><?php __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('Edit Request Item', true), array('action' => 'edit', $requestItem['RequestItem']['id'])); ?> </li>
        <li><?php echo $this->Html->link(__('Delete Request Item', true), array('action' => 'delete', $requestItem['RequestItem']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $requestItem['RequestItem']['id'])); ?> </li>
        <li><?php echo $this->Html->link(__('List Request Items', true), array('action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Request Item', true), array('action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Requests', true), array('controller' => 'requests', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Request', true), array('controller' => 'requests', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List Sub Categories', true), array('controller' => 'sub_categories', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New Sub Category', true), array('controller' => 'sub_categories', 'action' => 'add')); ?> </li>
    </ul>
</div>
